package org.aplikator.client.rpc.impl;

import org.aplikator.client.data.PrimaryKey;
import org.aplikator.client.descriptor.ViewDTO;
import org.aplikator.client.rpc.Command;

@SuppressWarnings("serial")
public class GetRecord implements Command<GetRecordResponse> {
    private ViewDTO view;
    private PrimaryKey primaryKey;

    @SuppressWarnings("unused")
    private GetRecord() {
    }

    public GetRecord(ViewDTO view, PrimaryKey primaryKey) {
        super();
        this.view = view;
        this.primaryKey = primaryKey;
    }

    public ViewDTO getView() {
        return view;
    }

    public PrimaryKey getPrimaryKey() {
        return primaryKey;
    }
}
